<!-- 我的查询 -->

<template>
  <WebSearch>
    <template #btn>
      <BtnAdd />
    </template>

    <ParamInput :label="`${CORE.MAP.ASSET}名称`" bind="deviceName" />

    <ParamTree :label="`所在${CORE.MAP.REGION}`" bind="regionId" :dict="CORE.REGION.DICT" allName />

    <ParamSelect label="设备类型" bind="deviceTypeId" :dict="typeDict" narrow />

    <ParamStatus label="人脸库" bind="faceCreateStatus" :dict="DICT.STATUS" narrow />
  </WebSearch>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MySearch from '@admin/views/System/IOT/IOTList/MySearch'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MySearch',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],

  /**
   * 计算属性 (慎用箭头函数)
   */
  computed: MySearch.computed,
}
</script>
